<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>内容管理</title>
    <link href="/public/boot/css/bootstrap.min.css" rel="stylesheet">
    <link href="/public/common/css/font-awesome.min.css" rel="stylesheet">
    <link href="/public/system/css/stu.css" rel="stylesheet">
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>

<header>
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <span class="navbar-brand logo"><a href="<?php echo U('Index/index');?>">凉晨</a></span>
      </div>
    <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav in-menu">
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="icon-reorder"></i>内容</a>
              <ul class="dropdown-menu">
                <li><a href="<?php echo U('News/index');?>"><i class="icon-book"></i>文章</a></li>
                <li><a href="<?php echo U('Mood/index');?>"><i class="icon-heart-empty"></i>心情</a></li>
                <li><a href="<?php echo U('Photo/index');?>"><i class="icon-picture"></i>相册</a></li>
              </ul>
            </li>

            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="icon-user"></i>会员</a>
              <ul class="dropdown-menu">
         <!--       <li><a href="<?php echo U('User/index');?>"><i class="icon-user"></i>会员</a></li>	-->
                <li><a href="<?php echo U('User/Wechat');?>"><i class="icon-comments-alt"></i>粉丝</a></li>
              </ul>
            </li>
			<li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="icon-dashboard"></i>功能</a>
              <ul class="dropdown-menu">
              	<li><a href="<?php echo U('Wechat/index');?>"><i class="icon-comments-alt"></i>微信</a></li>
                <li><a href="<?php echo U('Guestbook/index');?>"><i class="icon-book"></i>留言</a></li>
                <li><a href="<?php echo U('Help/index');?>"><i class="icon-file-alt"></i>帮助</a></li>
              </ul>
            </li>         
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="icon-cogs"></i>系统</a>
              <ul class="dropdown-menu">
                <li><a href="<?php echo U('Setup/index');?>"><i class="icon-book"></i>设置</a></li>
                <li><a href="<?php echo U('Admin/index');?>"><i class="icon-file-alt"></i>管理</a></li>
              </ul>
           </li>
            
        </ul>
        <ul class="nav navbar-nav navbar-right">
            <li><a href="#"><i class="icon-desktop"></i></a></li>
            <li><a href="<?php echo U('Login/logout');?>"><i class="icon-off"></i></a></li>
        </ul>
    </div>
  </div>
</nav>
</header>
<main>
	<div class="container">
		<div class="row">
			<div class="col-md-6 col-xs-6">
				<div class="alert alert-warning">
				<h3>内容数：</h3>
				<p><i class="icon-book"></i><?php echo ($show["news"]); ?>/<i class="icon-heart-empty"></i><?php echo ($show["mood"]); ?>/<i class="icon-picture"></i><?php echo ($show["photo"]); ?></p>
				</div>
			</div>
			<div class="col-md-6 col-xs-6">
				<div class="alert alert-success">
				<h3>粉丝数：</h3>
				<p><i class="icon-comments-alt"></i><?php echo ($sum["wx"]); ?>/<i class="icon-plus"></i><?php echo ($sum["now"]); ?></p>
				</div>
			</div>	
		</div>
		<div class="row">
			<div class="col-md-12">
			<div class="panel panel-default">
  				<div class="panel-heading">文章列表</div>
  				<div class="table-responsive">
  					<table class="table table-hover">
  						<thead>
  							<tr>
  								<th>标题</th>
  								<th>用户</th>
  								<th>时间</th>
  								<th>操作</th>
  							</tr>
  						</thead>
  						<tbody>
  							<tr>
  								<th></th>
  								<th></th>
  								<th></th>
  								<th></th>
  							</tr>
  						</tbody>

  					</table>
  				</div>
			</div>
			</div>
		</div>
		<div class="row">
			
			<div class="col-md-6">
				<div class="panel panel-default">
 				 <div class="panel-heading">系统信息</div>
  			 		<ul class="list-group">
    					<li class="list-group-item">安装路径：<?php echo ($server["catalog"]); ?></li>
    					<li class="list-group-item">操作系统：<?php echo ($server["uname"]); ?></li>
    					<li class="list-group-item">系统时间：<?php echo date('Y-m-d H:i:s',$server['time']);?></li>
    					<li class="list-group-item">服务器IP：<?php echo ($server["ip"]); ?></li>
    					<li class="list-group-item">使用端口：<?php echo ($server["port"]); ?></li>
  					</ul>	
				</div>
			</div>
			
			<div class="col-md-6">
				<div class="panel panel-default">
 				 	<div class="panel-heading">程序信息</div>			 	
  			 		<ul class="list-group">
                          <li class="list-group-item">程序类型：PHP+mysql</li>
                          <li class="list-group-item">程序框架：Thinkphp3.2.3</li> 
    					<li class="list-group-item">程序版本：2017-6</li>
    					<li class="list-group-item">程序支持：凉凉晨风</li>
  					</ul>			 	
				</div>
			</div>
			
		</div>
		
	</div>
</main>
<footer>
	
</footer>
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="/public/Boot/js/bootstrap.min.js"></script>
  </body>
</html>